package com.tvein.sanguo.controller.Game.system
{
	//flash
	//pureMVC
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.utilities.fabrication.patterns.command.SimpleFabricationCommand;
	//custom
	import com.tvein.sanguo.view.ApplicationMediator;
//
	public class LoadFile extends SimpleFabricationCommand implements ICommand
	{
		private var sanguoMediator:ApplicationMediator;
		
		override public function execute(notification:INotification) : void
		{
			sanguoMediator = facade.retrieveMediator(ApplicationMediator.NAME) as ApplicationMediator;
			sanguoMediator.sysLog.replaceText(sanguoMediator.sysLog.getLineOffset(1), sanguoMediator.sysLog.getLineOffset(2), ""); 
			sanguoMediator.sysLog.appendText("Module Initializing...\n");
		}
		
		//Custom
	}
}